#ifndef _SCENCE_PROCESSOR_HPP_20120612
#define _SCENCE_PROCESSOR_HPP_20120612

#include "base.hpp"

#include "confsvr_cmd.hpp"
#include "db_cmd.hpp"
#include "balance_cmd.hpp"
#include "gateway_cmd.hpp"
#include "scence_cmd.hpp"

#include "connection.hpp"
#include "cmd_comm.hpp"
#include "processor.hpp"
// #include "gateway.hpp"

using namespace cmd;
using namespace mina;

class Gateway;
class Scence;

class ScenceProcessor : public Processor<Gateway> 
{
	public :
		typedef __gnu_cxx::hash_map<uint64_t, Scence*> ScenceMap;
		typedef ScenceMap::iterator ScenceMap_Iter;
		typedef ScenceMap::const_iterator ScenceMap_CIter;

	public :
		virtual void accept_connect(Connection & conn); 

		virtual void remove_connect(Connection & conn); 

	public :
		ScenceMap  _scence_map;
};

#endif

